package com.wudizaba.pg.mapper;

import com.wudizaba.pg.domain.po.StoredProcedureDrill;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author k
 * @since 2024-05-02
 */
public interface StoredProcedureDrillMapper extends BaseMapper<StoredProcedureDrill> {

    /**
     * 新增数据
     * @param storedProcedureDrill
     */
    void saveStoredProcedureDrill(@Param("storedProcedureDrill") StoredProcedureDrill storedProcedureDrill);

    /**
     * 更新数据
     * @param storedProcedureDrill
     */
    void updateStoredProcedureDrill(@Param("storedProcedureDrill") StoredProcedureDrill storedProcedureDrill);

    /**
     * 删除数据
     * @param id
     */
    void deleteStoredProcedureDrill(@Param("id") Integer id);

    /**
     * 查询数据
     * @return
     */
     String getStoredProcedureDrill(Map<String, Object> resultMap);


    List<String> getStoredProcedureDrillFunction(Map<String, Object> resultMap);
}
